﻿using MediatR;
using MyMES.Domain.zmc;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.Proces
{
    public class CreateProcessCommends:IRequest<APIResult<Process>>
    {
        public int ProcessID { get; set; }

        /// <summary>
        /// 工艺路线编号

        /// </summary>
        public string ProcessNo { get; set; }

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 工艺路线描述
        /// </summary>
        public string? Processdescris { get; set; }

        /// <summary>
        ///   工艺路线备注
        /// </summary>
        public string? Processroute { get; set; }

        /// <summary>
        /// 是否可用  true:可用 false:不可用
        /// </summary>
        public bool isvailable { get; set; }

        /// <summary>
        /// 是否删除  true:未删除 false:删除
        /// </summary>
        public bool IsDel { get; set; } = false;


        /// <summary>
        /// 工单表
        /// </summary>
        public int WorkOrderId { get; set; }


        /// <summary>
        /// 物料表
        /// </summary>
        public int Requisitionid { get; set; }

        /// <summary>
        /// 工序编号
        /// </summary>
        public int ProcessInfoId { get; set; }


        /// <summary>
        /// 到货通知单
        /// </summary>
        public int NoticeId { get; set; }
        /// <summary>
        /// 中间表  工单-工序
        /// </summary>
        public int woekderProessId { get; set; }
    }
}
